/**
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.src.uniandes.ecos.tsp.creditscore.algorithm;

/**
 *
 * @author Administrador
 */
public class AmountsOwed {
    /**
     * This method obtains the points for amounts owed by client.
     * @param codigoCliente The client to calculate
     * @return Number of points for amounts owed
     */
    public final double getPointTotalDebt(final Integer codigoCliente) {
        if (codigoCliente != null) {
            final RulesAmountsOwed rulesAmountsOwed = new RulesAmountsOwed();
            return rulesAmountsOwed.getPointTotalDebt(codigoCliente);
        } else {
            return 0.0;
        }
    }
}
